package edu.ptu.shortlink.admin.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import edu.ptu.shortlink.admin.common.database.BaseDO;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @BelongsProject: shortlink
 * @BelongsPackage: edu.ptu.shortlink.admin.dao.entity
 * @Author: HYJ
 * @CreateTime: 2025-04-22  20:38
 * @Description: 用户持久层实体
 * @Version: 1.0
 */
@Data
@TableName("t_user")
public class UserDO extends BaseDO implements Serializable {
    @Serial
    private static final long serialVersionUID = -2929000622697605193L;

    /**
     * ID
     */
    private Long id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 邮箱
     */
    private String mail;

    /**
     * 注销时间戳
     */
    private Long deletionTime;


}
